<template>
  <div>
    <div>this is mitt test!</div>
  </div>
</template>

<script>
import { emitter } from "./HelloWorld";

export default {
  setup() {
    return {};
  },
  mounted() {
    emitter.on("someEvent", (msg) => {
      console.log("msg", msg);
    });
  },
};
</script>

<style lang="scss" scoped></style>
